package cn.ticket.service;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import cn.ticket.model.Ticketorder;

public interface TicketOrderService {
	 int deleteByPrimaryKey(Integer id);

	    int insert(Ticketorder record);

	    int insertSelective(Ticketorder record);

	    Ticketorder selectByPrimaryKey(Integer id);

	    int updateByPrimaryKeySelective(Ticketorder record);

	    int updateByPrimaryKey(Ticketorder record);
	    
	    List<Map<String, Object>> getInfoByBusId(Integer busId);
	    
	    List<Map<String, Object>> getValidateTicketsInfoByStaffId(Integer staffId);
	    
	    List<Map<String, Object>> getInvalidateTicketsInfoByStaffId(Integer staffId);
	    
	    List<Map<String, Object>> getSeatInfoByStaffIdAnd(Integer staffId,String seatName,Integer busOrderId);

}
